package openmind.demo.basicUsage.unit01;

/**
 * @author wangzhuangzhuang
 * @DESC: 传统方式实现
 * @date 2021-12-11 16:43
 */
public class LambdaDemo {
	// 函数定义
	public void printSth(String sth){
		System.out.println(sth);
	}

	// 通过创建对象调用函数
	public static void main(String[] args){
		LambdaDemo demo = new LambdaDemo();
		String sth = " I am learning Lambda!!!";
		demo.printSth(sth);
	}
}